<?php
namespace App\Modules\Fund;
use App\Modules\AdapterApi;
use App\Services\Fund\FundIndex;
/**
 * Created by PhpStorm.
 * User: 97606
 * Date: 2018/6/12
 * Time: 10:10
 */
class CurrencySplitLog extends AdapterApi
{
   /*获取数字币拆分记录*/
    public function list(): array 
    {
         $data = pick_array($this->postData, ['page', 'list_rows']);
        return FundIndex::CurrencySplitLog()->list($data);
    }

    //获取指定用户的数字币拆分记录
    public function listByUserIds(): array
    {
         $data = pick_array($this->postData, ['page', 'list_rows','user_ids']);
        return FundIndex::CurrencySplitLog()->listByUserIds($data);
    }

    /*获取某个用户的某个状态下的列表*/
    public function listByUserStatus(): array
    {
         $data = pick_array($this->postData, ['page', 'list_rows','user_id','status']);
        return FundIndex::CurrencySplitLog()->listByUserStatus($data);
    }

}